package org.example.sample2.dao;

import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter
@Setter
public class FruitPack {
    String name ;
    String marketName;
    BigDecimal price ;
    //    百分比
    BigDecimal discount;
    BigDecimal num;
    public FruitPack(String name, BigDecimal price, BigDecimal discount, BigDecimal num) {
        this.name = name;
        this.price = price;
        this.discount = discount;
        this.num = num;
    }

    @Override
    public String toString() {
        return "FruitPack{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", discount=" + discount +
                ", num=" + num +
                ", marketName=" + marketName +
                '}';
    }
}
